Skip to main content

All Questions

1vote
0answers
54views

Why are trailing line breaks stripped when used as an argument (for echo)? [duplicate]

When I run this… echo " fdsfsd dsfsdf " I really get the output of all these lines. However, if I use this output as an argument for echo again…: echo "$(echo " fdsfsd dsfsdf ")" …I do ...
rugk's user avatar
  • 3,436
12votes
4answers
3kviews

Print man pages with fixed width

With the example command man apropos > outputfile a text file is generated which contains the formatted man page of apropos (with some little differences with respect to man apropos directly ...
BowPark's user avatar
  • 5,085

close